package com.it.travel.service.admin;

import com.it.travel.vo.Params.PageParams;
import com.it.travel.vo.Params.admin.AdminStoryAddParams;
import com.it.travel.vo.Params.admin.AdminStoryUpdateParams;
import com.it.travel.vo.Result;

import java.util.List;

public interface AdminStoryService {
    Result<?> getStoryInfoPage(PageParams pageParams);

    Result<?> save(AdminStoryAddParams adminStoryAddParams);

    Result<?> delete(Integer id);

    Result<?> deletebatch(List<Integer> ids);

    Result<?> update(AdminStoryUpdateParams adminStoryUpdateParams);

    Result<?> findStoryDetail(Integer id);



//    Result<?> updateStoryDetail(AdminStoryUpdateParams adminStoryUpdateParams);
}
